#include<stdio.h>
#include<stdlib.h>
#include "linkqueue.h"

int main(){
	linkqueue * lq = queue_create();

	enqueue(lq, 10);
	enqueue(lq, 20);
	enqueue(lq, 30);
	enqueue(lq, 40);
	enqueue(lq, 50);
#if 0
	while(!queue_empty(lq)){
		printf("queue out: %d \n", dequeue(lq));
	}
#endif

	queue_clear(lq);
	queue_free(lq);
	return 0;
}
